 /*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.sgs.fachada;

import br.com.sgs.dao.DAOProcesso;
import br.com.sgs.dao.IDAOProcesso;
import br.com.sgs.entity.Etapa;
import br.com.sgs.entity.Processo;
import java.util.List;

/**
 *
 * @author Eric
 */
public class ProcessoFachada extends Fachada implements ProcessoIFachada {

    @Override
    public Processo findProcessoById(int idprocesso) {
        IDAOProcesso idao = new DAOProcesso();
        return idao.findProcessoById(idprocesso);
    }

    @Override
    public List<Processo> findProcesso() {
        IDAOProcesso idao = new DAOProcesso();
        return idao.findProcesso();

    }

    @Override
    public List<Processo> findProcessoByOrientacao(String orientacao) {
        IDAOProcesso idao = new DAOProcesso();
        return idao.findProcessoByOrientacao(orientacao);
    }

}
